Jump to content

tom 2007

EstablishedMember
  • Content Count

    57
  • Joined

  • Last visited

Everything posted by tom 2007

  1. I redownloaded the plugin template, compiled the code and that worked. After that i added my ocx control to the template dialog (without changing any code) and then it stopped working So it seems like loading a visual basic ocx in the c++ dialog doesn't work ?
  2. hello i was trying to create a plugin using the plugin template but somehow the form won't load: this function inside the CPluginView class keeps returning false BOOL ok = CFormView::Create( lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext ); Anyone has an idea why? btw i have an activeX control made in VB6 which should do the graphical stuff of my plugin on the form (IDD_PLUGIN_FORMVIEW) may this cause a problem? Didn't change much to the code of the plugin template that calls these functions so don't see the problem and i'm still a beginner with VC++ since we don't learn how to use forms,... in school Thnx Tom
  3. i liked to create my own plugin for sourceboost but i'm still newbie on C++ dlls so is there anyone that has an example for this (like the sourcecode of button or ledbar,...)?? Thnx Tom
  4. hello I want to receive data from my pc to the PIC. I have configured everything (not sure if it is correct) but there is no interrupt generated. code: #pragma DATA 0x2007,0x3D0A 'HS OSC #pragma CLOCK_FREQ 16000000 sub interrupt () dim Data as byte porta.3 = !porta.3 'to test if interrupt gen. but doesn't do anything if pir1.5 = 1 then Data = rcreg 'process Data ... pir1.5 = 0 end if end sub sub main() trisa.1 = 0 trisa.2 = 0 trisa.0 = 0 intcon = intcon | (1 << PEIE) 'enable peh. interrupts intcon = intcon | (1 << GIE) 'enable global interrupt pie1 = pie1 | ( 1 << RCIE) trisb.1 = 1 'enable for input trisb.2 = 1 ' " " " spbrg = 207 '@ 16Mhz: 1200 baud txsta = txsta & ~ (1 << BRGH) txsta = txsta & ~ (1 << SYNC) rcsta = rcsta | ( 1 << RX9) rcsta = rcsta & ~ (1 << ADEN) txsta = txsta | (1 << CREN) rcsta = rcsta | ( 1 << SPEN) cmcon = 7 'program starts here.... end sub Anyone knows if this code is correct? Also the signal at RX pin is this inverted from the PC signal or is it the same? Configuration at pc: 1200 baud, no parity, 8 bits, 1 stop bit Thnx Tom
  5. nope doesn't work for me I downloaded & extracted them in the installation folder, overwriting the existing files (compiler version changed from 6.70 to 6.80 so the new files are in the right folder). but i still have this error: my date is correct (11-08-2007) I installed the sourceboost to a usb hard drive could this have something to do with the problem ?
  6. hey When I try to compile my project I get this error: Building... BoostBasic Optimizing Basic Compiler Version 6.80 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Current license key has expired. Please visit http://www.sourceboost.com for updates. Exit code was 100. Removing target: _.obj Failed to locate output file '_.obj' Done Failed Is there an update or do i need to buy a license? Thanks Tom
  7. I downloaded this zip file but i still get this message when i try to compile: "F:\Program Files\SourceBoost\boostbasic.pic16.exe" -t PIC16F627 _.bas BoostBasic Optimizing Basic Compiler Version 6.80 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Current license key has expired. Please visit http://www.sourceboost.com for updates. Failed to locate output file '_.obj' Done Failed Do I need to buy a license or is there an update? Thanks Tom
×
×
  • Create New...