Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: randomize Pin
David Crow22-Mar-04 10:45
David Crow22-Mar-04 10:45 
GeneralRe: randomize Pin
Dimenser23-Mar-04 15:15
Dimenser23-Mar-04 15:15 
Generalrandomize Pin
Anonymous22-Mar-04 9:39
Anonymous22-Mar-04 9:39 
GeneralUsing DLL from VB Pin
BlackDice22-Mar-04 9:37
BlackDice22-Mar-04 9:37 
GeneralRe: Using DLL from VB Pin
John R. Shaw22-Mar-04 19:28
John R. Shaw22-Mar-04 19:28 
GeneralRe: Using DLL from VB Pin
BlackDice23-Mar-04 2:50
BlackDice23-Mar-04 2:50 
GeneralRe: Using DLL from VB Pin
John R. Shaw23-Mar-04 10:41
John R. Shaw23-Mar-04 10:41 
GeneralRe: Using DLL from VB Pin
BlackDice23-Mar-04 10:53
BlackDice23-Mar-04 10:53 
I made sure that I released all variables that were allocated on the heap. But just to see how far I get, I put a frivolous return in the dll in a certain space, and now it works fine. But if I move it down a few lines, I get that error again. Here's an example:

sColumns = sColumns.Left(sColumns.GetLength() - 1);
sColumns = "CREATE TABLE " + strTblName + " (" + sColumns + ")";
pDB.ExecuteSQL(sColumns);
<-- Works fine if I put it on this line
CDBFRecordset m_Set;
return 1;  
//I get an error if I put it here


I'm guessing it has something to do with this class (CDBFRecordset) because even if I put the return before this object variable it compiles without warnings. If I put it in the bottom position I get warnings like this:

warning LNK4098: defaultlib "mfcs42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

do you have any idea what's wrong?

If it's broken, I probably did it

bdiamond
GeneralRe: Using DLL from VB Pin
John R. Shaw23-Mar-04 11:48
John R. Shaw23-Mar-04 11:48 
GeneralGetting The OEM ID Win2000 Pin
aman200622-Mar-04 8:56
aman200622-Mar-04 8:56 
GeneralRe: Getting The OEM ID Win2000 Pin
David Crow22-Mar-04 9:09
David Crow22-Mar-04 9:09 
Generaldynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
Daniel 'Tak' M.22-Mar-04 8:55
Daniel 'Tak' M.22-Mar-04 8:55 
GeneralRe: dynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
Neville Franks22-Mar-04 10:00
Neville Franks22-Mar-04 10:00 
GeneralRe: dynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
Daniel 'Tak' M.22-Mar-04 10:13
Daniel 'Tak' M.22-Mar-04 10:13 
GeneralRe: dynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
David Crow22-Mar-04 10:47
David Crow22-Mar-04 10:47 
GeneralRe: dynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
Nitron22-Mar-04 13:30
Nitron22-Mar-04 13:30 
GeneralRe: dynamic_cast and AfxGetMainWnd() failing where it shouldn't fail Pin
David Crow23-Mar-04 2:17
David Crow23-Mar-04 2:17 
QuestionHow to get a function from an ATL COM dll. Pin
HAHAHA_NEXT22-Mar-04 8:31
HAHAHA_NEXT22-Mar-04 8:31 
AnswerRe: How to get a function from an ATL COM dll. Pin
Alvaro Mendez22-Mar-04 8:46
Alvaro Mendez22-Mar-04 8:46 
GeneralRe: How to get a function from an ATL COM dll. Pin
HAHAHA_NEXT22-Mar-04 8:52
HAHAHA_NEXT22-Mar-04 8:52 
GeneralRe: How to get a function from an ATL COM dll. Pin
Alvaro Mendez22-Mar-04 9:33
Alvaro Mendez22-Mar-04 9:33 
GeneralRe: How to get a function from an ATL COM dll. Pin
HAHAHA_NEXT22-Mar-04 11:48
HAHAHA_NEXT22-Mar-04 11:48 
Generalmysql help Pin
BlackDice22-Mar-04 8:00
BlackDice22-Mar-04 8:00 
GeneralHelp with a function that returns a vector.. Pin
RobJones22-Mar-04 7:52
RobJones22-Mar-04 7:52 
GeneralRe: Help with a function that returns a vector.. Pin
Nick Parker22-Mar-04 8:21
protectorNick Parker22-Mar-04 8:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.