473,387 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Uuhandled exception : User breakpoint

i am trying to test the c dll in vb. but while calling the function it is giving me the follwing error.

Unhandled exception at 0x77f75a58 in Project1.exe: User breakpoint

the call from vb is like:

Dim buf As String
Dim xml As Long
buf = "abcdefgh"
xml = xmlnode_GetXml(root, buf, 10000)

and the code in c is like:
long __stdcall xmlnode_GetXml( XMLNODE xnode, char* pBuffer, long lBuflen )
{
std::string s = ((XMLNode*)xnode)->xml();
long l = (long)s.length();
if( pBuffer && lBuflen>0 )
{
memcpy( pBuffer, s.c_str(), (lBuflen<l)? l : lBuflen );
}
return l;
}

XMLNODE is typedefed as void*
xml file is successfully geting copied into pBuffer. but what is the meaning of the error.
Apr 26 '07 #1
0 724

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Fiona McBride | last post by:
Hi all, I have a really odd problem with some Visual Basic .NET 2003 code; I have a program that creates a number of windows which contain RichTextBox, Timers (disabled) and menus. The code...
1
by: manish | last post by:
Hi, I am a fresher in the programming field i.e although I have done programming at the basic level but at professional level I am very new and I am facing many problems. These probllems are...
7
by: Douglas Peterson | last post by:
Take a look at this code, it looks funny as its written to be as short as possible: -- code -- struct Base { ~Base() { *((char*)0) = 0; } }; struct Derived : public Base
4
by: Andy | last post by:
Hi, I'm doing a nested pass by reference of a vector. I'm in Vis Studio 2003. Example: vector <unsigned long long> vect; func1(vect); where func1 calls func2(vect);
0
by: globus | last post by:
Hi, I've a c# project calling a COM Interop library method. This method starts a Service , so I need administrator or power user rights to use it without exceptions. I'm developing exceptions...
4
by: Uchiha Jax | last post by:
I had a bug, code kept stopping without any warning. I'd put a breakpoint on say line 3 and line 8. 3 would trigger but the breakpoint on line 8 would never trigger. After trying a few things I...
11
by: J-T | last post by:
I'd like to use Exception block for my asp.net application,but apparently there are two things available now: 1)Old exception block 2) exception block represented in enterprise library. I...
0
by: Peter Stojkovic | last post by:
I am using VB on WIN XP with Sp2 If I press the F12 button the following happens: All other keys are working fine. There is NO code for the F12-Key !! Unhandled exception at 0x7c901230...
2
by: Wangbo | last post by:
Hi, all I encounted a very strange problem in my App, in debug mode, when I exit my App, it often told me something like "Unhandled exception at ..., user breakpoint", press F5, it skiped this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.